package com.winkyle.woodenfish.mvpview;

import android.view.View;

import com.winkyle.woodenfish.controller.fragment.MessageFragment;
import com.winkyle.woodenfish.entity.MessageInfo;

import java.util.List;

/**
 * @author winkyle
 * @date 2018/06/20
 * @description 碎片类 {@link MessageFragment}的v层
 */

public interface MessageView extends BaseMvpView{
    /**
     * @description 刷新界面消息
     * @param messageInfos 消息列表
     * @return
     */
    void refreshMessage(List<MessageInfo> messageInfos);

    /**
     * @description 刷新
     * @param view 刷新图标
     * @return
     */
    void refresh(View view);
}
